package cn.xfdzx.android.apps.shop.model;


import java.util.HashMap;

import cn.xfdzx.android.apps.shop.bean.Qc_StoreBean;
import cn.xfdzx.android.apps.shop.bean.Qc_StoreListBean;
import cn.xfdzx.android.apps.shop.contract.Qc_shopContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class Qc_shopModel implements Qc_shopContract.Model {


    @Override
    public Flowable<Qc_StoreBean> getStoreInfo(String store_id, int sale_modle) {
        return RetrofitClient.getInstance().getApi().getStoreInfor(store_id, sale_modle);

    }

    @Override
    public Flowable<Qc_StoreListBean> getStoreList(HashMap<String, Object> map) {
        return RetrofitClient.getInstance().getApi().getStoreList(map);

    }
}
